package com.kingint.web.util.tree;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TreeBo<T> implements Serializable{

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private T title;
    private List<TreeBo<T>> children;
    public T getTitle() {
        return title;
    }
    public void setTitle(T title) {
        this.title = title;
    }
    public List<TreeBo<T>> getChildren() {
        return children;
    }
    public void setChildren(List<TreeBo<T>> children) {
        if(this.children ==null){
            this.children=new ArrayList<TreeBo<T>>();
        }
        this.children = children;

    }


}